import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// 创建 pinia 实例
const pinia = createPinia()

// 添加持久化插件
pinia.use(piniaPluginPersistedstate)

export default pinia

export * from './modules/user-server.js'
export * from './modules/user-student.js'
// export * from './modules/unit.js'
// export * from './modules/project.js'
